using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 成长习惯伙伴仓储接口
    /// </summary>
    public interface IGrowthHabitPartnerRepository : IRepository<GrowthHabitPartner>
    {
        Task<IEnumerable<GrowthHabitPartner>> GetByUserIdAsync(Guid userId);
        Task<IEnumerable<GrowthHabitPartner>> GetByHabitIdAsync(Guid habitId);
        Task<IEnumerable<GrowthHabitPartner>> GetByPartnerIdAsync(Guid partnerId);
        Task<GrowthHabitPartner?> GetByUsersAndHabitAsync(Guid userId, Guid partnerId, Guid habitId);
    }
}